package com.paimai.mapper;

import com.paimai.pojo.Auctionuser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author: VE
 * @DATE: 2022/10/10 20:26
 * 描述:
 */
@Mapper
public interface AuctionuserMapper {


    int insert(Auctionuser auctionuser);


    int delete(int id);


    int update(Auctionuser auctionuser);

    Auctionuser load(int id);

    /**
     * 通过用户名查询用户
     * @param username 查询的用户名
     * @return
     */
    Auctionuser login(String username);
}
